luci-app-dockerman: set examle registry url as placeholder
authorFlorian Eckert <[email protected]>
Thu, 8 Apr 2021 12:54:51 +0000 (14:54 +0200)
committerFlorian Eckert <[email protected]>
Thu, 8 Apr 2021 14:25:06 +0000 (16:25 +0200)
Signed-off-by: Florian Eckert <[email protected]>
applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua

index 85fbe8e9c0fee6134b2f46bbb06eb60ee72f1600..5fe6b2b3ecc87ef9e5bb6f6ca8345434a404dfa7 100644 (file)
@@ -122,8 +122,9 @@ if nixio.fs.access("/usr/bin/dockerd") then
        o:depends("remote_endpoint", 0)
 
        o = s:option(DynamicList, "registry_mirrors",
-               translate("Registry Mirrors"))
-       o:value("https://hub-mirror.c.163.com", "https://hub-mirror.c.163.com")
+               translate("Registry Mirrors"),
+               translate("It replaces the daemon registry mirrors with a new set of registry mirrors"))
+       o.placeholder = translate("Example: https://hub-mirror.c.163.com")
        o:depends("remote_endpoint", 0)
 
        o = s:option(ListValue, "log_level",